import request from '@/utils/myHttp'

// api地址
const api = {
  userInfo: '?s=/api/User/info',
	inviteuser: '?s=/api/User/getTjrUserInfo'
}

// 当前登录的用户信息
export const info = (option) => {
  const options = {
	  url: api.userInfo,
	  data: option
  }
  return request(options)
}

//是否有推荐人
export const inviteuser = (option) => {
	const options = {
		url: api.inviteuser,
		data: option
	}
	return request(options)
}


